-- card: 6699 from stack: in -- bmap block id: 6971 -- flags: 0000 -- background id: 2700 -- name: ----- HyperTalk script ----- on opencard global right, wrong put 0 into right put right into field numright put 0 into wrong put wrong into field numwrong click at loc of card field result end opencard -- part 1 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=188 top=121 right=151 bottom=231 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: second -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=255 top=82 right=112 bottom=301 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: result ----- HyperTalk script ----- on returnInField if card field result < 10 then click at loc of card field step1 end if if card field result > 10 then click at loc of card field step3 end if end returnInField on enterInfield global right,wrong put "" into card field step1 put "" into card field step2 put "" into card field step3 if card field result <> (card field first)/(card field second) then put "Try again" into card field feedback talk card field feedback ,150,150 put "" into card field result put wrong +1 into wrong put wrong into field numwrong end if if card field result = (card field first)/(card field second) then put right +1 into right put right into field numright put "Right" into card field feedback talk card field feedback,150,150 put round of random of 99 into card field second put (round of random of 99)*card field second into card field first talk card field first,150,150 talk "divided by",150,150 talk card field second,150,150 put "" into card field result end if put "" into card field feedback click at the loc of card field result talk "when the answer is right, press enter",150,150 end enterInfield -- part 4 (field) -- low flags: 00 -- high flags: 0000 -- rect: left=241 top=121 right=151 bottom=318 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: first -- part 5 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=341 top=123 right=149 bottom=463 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 18 -- style flags: 256 -- line height: 24 -- part name: feedback -- part 11 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=241 top=153 right=183 bottom=319 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: step1 ----- HyperTalk script ----- on returnInfield click at loc of card field step2 if card field first/card field second <= 9 then click at loc of card field result end if end returnInfield -- part 12 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=259 top=192 right=222 bottom=336 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: step2 ----- HyperTalk script ----- on returnInfield click at loc of card field result end returnInfield -- part 14 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=260 top=228 right=257 bottom=336 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 24 -- style flags: 256 -- line height: 32 -- part name: step3 ----- HyperTalk script ----- on returnInfield click at loc of card field result end returnInfield -- part 15 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=313 top=80 right=114 bottom=437 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: -- part contents for background part 6 ----- text ----- test -- part contents for card part 1 ----- text ----- 28 -- part contents for card part 9 ----- text ----- 0 -- part contents for card part 10 ----- text ----- 0 -- part contents for background part 22 ----- text ----- 0 -- part contents for background part 23 ----- text ----- 0 -- part contents for card part 4 ----- text ----- 2492 -- part contents for card part 15 ----- text ----- Type enter for the right answer!